SyAudit_CmDocument 
Logical Entity Name  SyAudit_CmDocument 
Default Table Name  SyAudit_CmDocument 
Physical Only  NO 
Owner  dbo 
Definition 
 
Note 
 

SyAudit_CmDocument Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SyAudit_CmDocumentID(PK)    int  NO 
 
SyStudentID(FK)    int  NO 
 
CmDocumentID(FK)    int  YES 
 
CmDocTypeID(FK)    int  NO 
 
ColumnName    varchar(50)  NO 
 
OldValue    varchar(200)  YES 
 
NewValue    varchar(200)  YES 
 
Deleted    bit  NO 
 
UserID    int  NO 
 
DateAdded    datetime  NO 
 
DateLstMod    datetime  NO 
 
ts    timestamp  NO 
 
Comment    varchar(2000)  YES 
 

SyAudit_CmDocument Primary and Unique Keys 
Key Name  Key Type  Keys 
PK_SyAudit_CmDocument_SyAudit_CmDocumentID  PrimaryKey  SyAudit_CmDocumentID 

SyAudit_CmDocument Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
CmDocType  Non-Identifying  One To Zero or More  FK_SyAudit_CmDocument_CmDocTypeID      CmDocTypeID  NO  YES 
CmDocument  Non-Identifying  Zero or One to Zero or More  FK_SyAudit_CmDocument_CmDocumentD      CmDocumentID  NO  YES 
syStudent  Non-Identifying  One To Zero or More  FK_SyAudit_CmDocument_SyStudentID_SyStudent_SyStudentID      SyStudentID  NO  YES 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 

SyAudit_CmDocument Check Constraints 
Check Constraint Name  CheckConstraint 

SyAudit_CmDocument Storage 
STORAGE OPTION  STORAGE VALUE 
Filegroup  PRIMARY 
Text Image File Group   

SyAudit_CmDocument Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
dbo.DocumentDataChange 
NO       
Physical (Microsoft SQL Server)
dbo.SyAudit_CmDocument 
NO       

SyAudit_CmDocument Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Documents 
Physical (Microsoft SQL Server)  Main Model 
Physical (Microsoft SQL Server)  Audit 

SyAudit_CmDocument Data Movement Rules 
Name  Type  Rule Text/Value